package com.addbrick.auth;

import com.addbrick.common.security.annotation.EnableAddBrickFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 认证授权中心
 * 
 * @author shiliuyinzhen
 */
@EnableAddBrickFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
@ComponentScan(basePackages = "com.addbrick.**")
public class AddBrickAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AddBrickAuthApplication.class, args);
        System.out.println("认证授权中心 启动成功~");
    }
}
